package com.drive.service;

import com.drive.bean.Coach;
import com.drive.entity.PageResult;

import java.util.List;

/**
 * @author 往
 * 教练管理接口
 */
public interface CoachService {
    void add(Coach coach,Integer[] studentIds);

    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    Coach findById(Integer id);

    List<Integer> findStudentIdByCoachId(Integer id);

    void edit(Coach coach, Integer[] studentIds);

    void delete(Integer id);

    List<Coach> findAll();
}
